package com.daxt.controller.index;

import javax.servlet.http.HttpServletRequest;

import com.daxt.model.service.base.param.LoginInfo;
import com.daxt.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class HomeController {

	@Autowired
	private UserService userService;
	
	@GetMapping("/")
	public String index() throws Exception{
		return "index";
	}

	@GetMapping("/acceptor/work/") //用于路桥过滤cas待办审批
	public String approve() throws Exception{
		return "index";
	}
	
	//@RequestMapping("index.html")
	@RequestMapping("index")
	public String index1(HttpServletRequest request) throws Exception{
		//System.out.println("111");
		return "index";
	}
}
